<ion-popover-view class="nav-popover royal-bg">
	<ion-content>
		<div class="list">
			<ion-item class="item-icon-left item-royal" ng-click="$root.toggleEdit();closePopover();">
				<i class="icon ion-ios-compose-outline"></i>修改员工信息
			</ion-item>
			<ion-item class="item-icon-left item-royal" ng-click="closePopover();resetUserPw();">
				<i class="icon ion-key"></i>重置密码
			</ion-item>
			<ion-item class="item-icon-left item-royal" ng-click="closePopover();updateEmployeeState();">
				<i class="icon ion-ios-flag-outline"></i>更改在职状态
			</ion-item>
			<ion-item class="item-icon-left item-royal" ng-click="closePopover();switchUser();" ng-if="theUser.state=='已启用' || theUser.state=='未启用'">
				<i class="icon ion-ios-clock-outline"></i>
				<span ng-if="theUser.state=='已启用'">{{'停用'}}</span><span ng-if="theUser.state=='未启用'">{{'启用'}}</span>该账号
			</ion-item>
		</div>

	</ion-content>
</ion-popover-view>
